#include "jemalloc/jemalloc.h"
#include "memory_alloc.h"
#include "string_builder.h"
#include <iostream>
int main() 
{
	//int *ptr = (int*)je_malloc(sizeof(int));
	//*ptr = 10;
	//je_free(ptr);


	//as::tools::MemoryAlloc<int> alloc;
	//auto buf = alloc.allocate();
	//*buf = 10;
	//alloc.deallocate(buf);

	StringBuilder<char, as::tools::MemoryAlloc<char> > sb;
	sb.Append("hello");
	std::cout << sb.GetString().c_str() << std::endl;

	{
		std::list<int, as::tools::MemoryAlloc<int> > l;
		l.push_back(1);
	}

	return 0;
}
